import { createApp } from 'vue'
import App from './App.vue'

//全局注册 element 组件
import ElementPlus from 'element-plus'
import 'element-plus/theme-chalk/index.css'
//注册第三方图标库
import 'virtual:svg-icons-register';
//pinia全局注册
import { createPinia } from "pinia"
//路由全局注册
import router from "@/router";
//动态路由相关
import '@/permission';

createApp(App)
.use(ElementPlus)
.use(createPinia())
.use(router)
.mount('#app')
